package cn.school.teacher.leaveCount.dao;

import cn.school.teacher.leaveCount.entity.DeptLeave;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface DeptLeaveDao {

    List<DeptLeave> leaveList(@Param("status") Integer status, @Param("time") String time);

    int leaveCount(@Param("status") Integer status, @Param("time") String time, @Param("name") String name);
}
